package org.fuxia.im.utils;

public class ImagePathUtils {
	
	public static String getImagePath(String path) {
		String[] string = path.split("/") ;
		String imagePath = "" ;
		for(int i = 0; i < string.length; i++) {
			if("images".equals(string[i])) {
				imagePath = string[i] +"/"+string[i+1] ;
			}
		}
		return imagePath ;
	}
}
